
<%@ page import="com.app.so.order.SoSale" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'soSale.label', default: 'SoSale')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-soSale" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-soSale" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list soSale">
			
				<g:if test="${soSaleInstance?.billno}">
				<li class="fieldcontain">
					<span id="billno-label" class="property-label"><g:message code="soSale.billno.label" default="Billno" /></span>
					
						<span class="property-value" aria-labelledby="billno-label"><g:fieldValue bean="${soSaleInstance}" field="billno"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.billdate}">
				<li class="fieldcontain">
					<span id="billdate-label" class="property-label"><g:message code="soSale.billdate.label" default="Billdate" /></span>
					
						<span class="property-value" aria-labelledby="billdate-label"><g:formatDate date="${soSaleInstance?.billdate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.customer}">
				<li class="fieldcontain">
					<span id="customer-label" class="property-label"><g:message code="soSale.customer.label" default="Customer" /></span>
					
						<span class="property-value" aria-labelledby="customer-label"><g:link controller="bdCumandoc" action="show" id="${soSaleInstance?.customer?.id}">${soSaleInstance?.customer?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.balatype}">
				<li class="fieldcontain">
					<span id="balatype-label" class="property-label"><g:message code="soSale.balatype.label" default="Balatype" /></span>
					
						<span class="property-value" aria-labelledby="balatype-label"><g:link controller="bdBalatype" action="show" id="${soSaleInstance?.balatype?.id}">${soSaleInstance?.balatype?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.bdCorp}">
				<li class="fieldcontain">
					<span id="bdCorp-label" class="property-label"><g:message code="soSale.bdCorp.label" default="Bd Corp" /></span>
					
						<span class="property-value" aria-labelledby="bdCorp-label"><g:link controller="bdCorp" action="show" id="${soSaleInstance?.bdCorp?.id}">${soSaleInstance?.bdCorp?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.billTypeCode}">
				<li class="fieldcontain">
					<span id="billTypeCode-label" class="property-label"><g:message code="soSale.billTypeCode.label" default="Bill Type Code" /></span>
					
						<span class="property-value" aria-labelledby="billTypeCode-label"><g:fieldValue bean="${soSaleInstance}" field="billTypeCode"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.billtype}">
				<li class="fieldcontain">
					<span id="billtype-label" class="property-label"><g:message code="soSale.billtype.label" default="Billtype" /></span>
					
						<span class="property-value" aria-labelledby="billtype-label"><g:link controller="pubBilltype" action="show" id="${soSaleInstance?.billtype?.id}">${soSaleInstance?.billtype?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.bretinvflag}">
				<li class="fieldcontain">
					<span id="bretinvflag-label" class="property-label"><g:message code="soSale.bretinvflag.label" default="Bretinvflag" /></span>
					
						<span class="property-value" aria-labelledby="bretinvflag-label"><g:formatBoolean boolean="${soSaleInstance?.bretinvflag}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.businessType}">
				<li class="fieldcontain">
					<span id="businessType-label" class="property-label"><g:message code="soSale.businessType.label" default="Business Type" /></span>
					
						<span class="property-value" aria-labelledby="businessType-label"><g:link controller="pubBusinessType" action="show" id="${soSaleInstance?.businessType?.id}">${soSaleInstance?.businessType?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.calbody}">
				<li class="fieldcontain">
					<span id="calbody-label" class="property-label"><g:message code="soSale.calbody.label" default="Calbody" /></span>
					
						<span class="property-value" aria-labelledby="calbody-label"><g:link controller="bdCalbody" action="show" id="${soSaleInstance?.calbody?.id}">${soSaleInstance?.calbody?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.checkDate}">
				<li class="fieldcontain">
					<span id="checkDate-label" class="property-label"><g:message code="soSale.checkDate.label" default="Check Date" /></span>
					
						<span class="property-value" aria-labelledby="checkDate-label"><g:formatDate date="${soSaleInstance?.checkDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.checker}">
				<li class="fieldcontain">
					<span id="checker-label" class="property-label"><g:message code="soSale.checker.label" default="Checker" /></span>
					
						<span class="property-value" aria-labelledby="checker-label"><g:link controller="smUser" action="show" id="${soSaleInstance?.checker?.id}">${soSaleInstance?.checker?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="soSale.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${soSaleInstance?.dateCreated}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.deptdoc}">
				<li class="fieldcontain">
					<span id="deptdoc-label" class="property-label"><g:message code="soSale.deptdoc.label" default="Deptdoc" /></span>
					
						<span class="property-value" aria-labelledby="deptdoc-label"><g:link controller="bdDeptdoc" action="show" id="${soSaleInstance?.deptdoc?.id}">${soSaleInstance?.deptdoc?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.lastUpdated}">
				<li class="fieldcontain">
					<span id="lastUpdated-label" class="property-label"><g:message code="soSale.lastUpdated.label" default="Last Updated" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${soSaleInstance?.lastUpdated}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.makeDate}">
				<li class="fieldcontain">
					<span id="makeDate-label" class="property-label"><g:message code="soSale.makeDate.label" default="Make Date" /></span>
					
						<span class="property-value" aria-labelledby="makeDate-label"><g:formatDate date="${soSaleInstance?.makeDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.maker}">
				<li class="fieldcontain">
					<span id="maker-label" class="property-label"><g:message code="soSale.maker.label" default="Maker" /></span>
					
						<span class="property-value" aria-labelledby="maker-label"><g:link controller="smUser" action="show" id="${soSaleInstance?.maker?.id}">${soSaleInstance?.maker?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.ndiscountrate}">
				<li class="fieldcontain">
					<span id="ndiscountrate-label" class="property-label"><g:message code="soSale.ndiscountrate.label" default="Ndiscountrate" /></span>
					
						<span class="property-value" aria-labelledby="ndiscountrate-label"><g:fieldValue bean="${soSaleInstance}" field="ndiscountrate"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.nheadsummny}">
				<li class="fieldcontain">
					<span id="nheadsummny-label" class="property-label"><g:message code="soSale.nheadsummny.label" default="Nheadsummny" /></span>
					
						<span class="property-value" aria-labelledby="nheadsummny-label"><g:fieldValue bean="${soSaleInstance}" field="nheadsummny"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.npreceivemny}">
				<li class="fieldcontain">
					<span id="npreceivemny-label" class="property-label"><g:message code="soSale.npreceivemny.label" default="Npreceivemny" /></span>
					
						<span class="property-value" aria-labelledby="npreceivemny-label"><g:fieldValue bean="${soSaleInstance}" field="npreceivemny"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.nratemnny}">
				<li class="fieldcontain">
					<span id="nratemnny-label" class="property-label"><g:message code="soSale.nratemnny.label" default="Nratemnny" /></span>
					
						<span class="property-value" aria-labelledby="nratemnny-label"><g:fieldValue bean="${soSaleInstance}" field="nratemnny"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.psndoc}">
				<li class="fieldcontain">
					<span id="psndoc-label" class="property-label"><g:message code="soSale.psndoc.label" default="Psndoc" /></span>
					
						<span class="property-value" aria-labelledby="psndoc-label"><g:link controller="bdPsndoc" action="show" id="${soSaleInstance?.psndoc?.id}">${soSaleInstance?.psndoc?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.vnote}">
				<li class="fieldcontain">
					<span id="vnote-label" class="property-label"><g:message code="soSale.vnote.label" default="Vnote" /></span>
					
						<span class="property-value" aria-labelledby="vnote-label"><g:fieldValue bean="${soSaleInstance}" field="vnote"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${soSaleInstance?.vreceiveaddress}">
				<li class="fieldcontain">
					<span id="vreceiveaddress-label" class="property-label"><g:message code="soSale.vreceiveaddress.label" default="Vreceiveaddress" /></span>
					
						<span class="property-value" aria-labelledby="vreceiveaddress-label"><g:fieldValue bean="${soSaleInstance}" field="vreceiveaddress"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${soSaleInstance?.id}" />
					<g:link class="edit" action="edit" id="${soSaleInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
